package com.jdd.dao.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jdd.dao.entity.TDeviceCmdResponse;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 设备指令回复表 服务类
 * </p>
 *
 * @author zly
 * @since 2022-03-24
 */
public interface TDeviceCmdResponseService extends IService<TDeviceCmdResponse> {
    /**
     * 保存设备指令执行结果并删除下发指令状态数据
     *
     * @param cmdResponse 设备回复指令
     * @return void
     * @Description
     * @Author zsj
     * @Date 2022-03-26 9:56
     **/
    void saveCmdResponseAndDelCmdStatus(TDeviceCmdResponse cmdResponse);

    IPage<TDeviceCmdResponse> findList(Page<TDeviceCmdResponse> page, TDeviceCmdResponse tDeviceCmdResponse);
}
